Package | hl7.fhir.uv.xver |
Type | StructureMap |
Id | Id |
FHIR Version | R5 |
Source | http://hl7.org/fhir/extensions/https://build.fhir.org/ig/HL7/fhir-cross-version/StructureMap-SupplyDelivery2to3.html |
Url | http://hl7.org/fhir/StructureMap/SupplyDelivery2to3 |
Version | 0.1.0 |
Status | active |
Date | 2024-02-22T03:16:50+00:00 |
Name | SupplyDelivery2to3 |
Title | SupplyDelivery Transforms: R2 to R3 |
Experimental | False |
Realm | uv |
Authority | hl7 |
Description | SupplyDeliveryTransformsR2toR3 |
No resources found
No resources found
Note: links and images are rebased to the (stated) source
/// url = 'http://hl7.org/fhir/StructureMap/SupplyDelivery2to3' /// name = 'SupplyDelivery2to3' /// title = 'SupplyDelivery Transforms: R2 to R3' /// status = 'active' uses "http://hl7.org/fhir/1.0/SupplyDelivery" alias SupplyDeliveryR2 as source uses "http://hl7.org/fhir/3.0/SupplyDelivery" alias SupplyDelivery as target imports "http://hl7.org/fhir/StructureMap/*2to3" group SupplyDelivery(source src : SupplyDeliveryR2, target tgt : SupplyDelivery) extends DomainResource <<type+>> { src.identifier -> tgt.identifier "SupplyDelivery-identifier"; src.status -> tgt.status "SupplyDelivery-status"; src.patient -> tgt.patient "SupplyDelivery-patient"; src.type -> tgt.type "SupplyDelivery-type"; src.quantity as v -> tgt.suppliedItem as si, si.quantity = v "SupplyDelivery-quantity"; src.suppliedItem as v -> tgt.suppliedItem as si, si.item = v "SupplyDelivery-suppliedItem"; src.supplier -> tgt.supplier "SupplyDelivery-supplier"; src.whenPrepared as v -> tgt.extension as t, t.url = 'http://hl7.org/fhir/SupplyDelivery-r2-whenPrepared', t.value = v "SupplyDelivery-whenPrepared"; src.time -> tgt.occurrence "SupplyDelivery-time"; src.destination -> tgt.destination "SupplyDelivery-destination"; src.receiver -> tgt.receiver "SupplyDelivery-receiver"; }
{
"resourceType" : "StructureMap",
"id" : "SupplyDelivery2to3",
"text" : {
"status" : "generated",
"div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><pre class=\"fml\">\r\n<span style=\"color: #cc00cc\">/// <b>url</b> = </span><span style=\"color: blue\">'http://hl7.org/fhir/StructureMap/SupplyDelivery2to3'</span>\r\n<span style=\"color: #cc00cc\">/// <b>name</b> = </span><span style=\"color: blue\">'SupplyDelivery2to3'</span>\r\n<span style=\"color: #cc00cc\">/// <b>title</b> = </span><span style=\"color: blue\">'SupplyDelivery Transforms: R2 to R3'</span>\r\n<span style=\"color: #cc00cc\">/// <b>status</b> = </span><span style=\"color: blue\">'active'</span>\r\n\r\n<b>uses</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/1.0/SupplyDelivery<span style=\"color: navy\">" </span><b>alias </b>SupplyDeliveryR2 <b>as </b><b>source</b>\r\n<b>uses</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/3.0/SupplyDelivery<span style=\"color: navy\">" </span><b>alias </b>SupplyDelivery <b>as </b><b>target</b>\r\n\r\n<b>imports</b><span style=\"color: navy\"> "</span>http://hl7.org/fhir/StructureMap/*2to3<span style=\"color: navy\">"\r\n</span>\r\n<b>group </b>SupplyDelivery<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>SupplyDeliveryR2, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>SupplyDelivery<span style=\"color: navy\">)</span><b> extends </b>DomainResource<b> <<type+>></b><span style=\"color: navy\"> {\r\n</span> src.identifier<span style=\"color: navy\"><b> -> </b></span>tgt.identifier <i>"SupplyDelivery-identifier"</i><span style=\"color: navy\">;</span>\r\n src.status<span style=\"color: navy\"><b> -> </b></span>tgt.status <i>"SupplyDelivery-status"</i><span style=\"color: navy\">;</span>\r\n src.patient<span style=\"color: navy\"><b> -> </b></span>tgt.patient <i>"SupplyDelivery-patient"</i><span style=\"color: navy\">;</span>\r\n src.type<span style=\"color: navy\"><b> -> </b></span>tgt.type <i>"SupplyDelivery-type"</i><span style=\"color: navy\">;</span>\r\n src.quantity<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -> </b></span> tgt.suppliedItem<b> as </b><span style=\"color: maroon\">si</span><span style=\"color: navy\">, </span> si.quantity = <span style=\"color: maroon\">v</span> <i>"SupplyDelivery-quantity"</i><span style=\"color: navy\">;</span>\r\n src.suppliedItem<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -> </b></span> tgt.suppliedItem<b> as </b><span style=\"color: maroon\">si</span><span style=\"color: navy\">, </span> si.item = <span style=\"color: maroon\">v</span> <i>"SupplyDelivery-suppliedItem"</i><span style=\"color: navy\">;</span>\r\n src.supplier<span style=\"color: navy\"><b> -> </b></span>tgt.supplier <i>"SupplyDelivery-supplier"</i><span style=\"color: navy\">;</span>\r\n src.whenPrepared<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -> </b></span> tgt.extension<b> as </b><span style=\"color: maroon\">t</span><span style=\"color: navy\">, </span> t.url = <span style=\"color: blue\">'http://hl7.org/fhir/SupplyDelivery-r2-whenPrepared'</span><span style=\"color: navy\">, </span> t.value = <span style=\"color: maroon\">v</span> <i>"SupplyDelivery-whenPrepared"</i><span style=\"color: navy\">;</span>\r\n src.time<span style=\"color: navy\"><b> -> </b></span>tgt.occurrence <i>"SupplyDelivery-time"</i><span style=\"color: navy\">;</span>\r\n src.destination<span style=\"color: navy\"><b> -> </b></span>tgt.destination <i>"SupplyDelivery-destination"</i><span style=\"color: navy\">;</span>\r\n src.receiver<span style=\"color: navy\"><b> -> </b></span>tgt.receiver <i>"SupplyDelivery-receiver"</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span></pre></div>"
},
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
"valueCode" : "fhir"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
"valueInteger" : 1,
"_valueInteger" : {
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
"valueCanonical" : "http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.xver"
}
]
}
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "draft",
"_valueCode" : {
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
"valueCanonical" : "http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.xver"
}
]
}
}
],
"url" : "http://hl7.org/fhir/StructureMap/SupplyDelivery2to3",
"version" : "0.1.0",
"name" : "SupplyDelivery2to3",
"title" : "SupplyDelivery Transforms: R2 to R3",
"status" : "active",
"date" : "2024-02-22T03:16:50+00:00",
"publisher" : "HL7 International / FHIR Infrastructure",
"contact" : [
{
"telecom" : [
{
"system" : "url",
"value" : "http://www.hl7.org/Special/committees/fiwg"
}
]
}
],
"description" : "SupplyDeliveryTransformsR2toR3",
"jurisdiction" : [
{
"coding" : [
{
"system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
"code" : "001"
}
]
}
],
"structure" : [
{
"url" : "http://hl7.org/fhir/1.0/SupplyDelivery",
"mode" : "source",
"alias" : "SupplyDeliveryR2"
},
{
"url" : "http://hl7.org/fhir/3.0/SupplyDelivery",
"mode" : "target",
"alias" : "SupplyDelivery"
}
],
"import" : [
"http://hl7.org/fhir/StructureMap/*2to3"
],
"group" : [
{
"name" : "SupplyDelivery",
"extends" : "DomainResource",
"typeMode" : "type-and-types",
"input" : [
{
"name" : "src",
"type" : "SupplyDeliveryR2",
"mode" : "source"
},
{
"name" : "tgt",
"type" : "SupplyDelivery",
"mode" : "target"
}
],
"rule" : [
{
"name" : "SupplyDelivery-identifier",
"source" : [
{
"context" : "src",
"element" : "identifier",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "identifier",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "SupplyDelivery-status",
"source" : [
{
"context" : "src",
"element" : "status",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "status",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "SupplyDelivery-patient",
"source" : [
{
"context" : "src",
"element" : "patient",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "patient",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "SupplyDelivery-type",
"source" : [
{
"context" : "src",
"element" : "type",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "type",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "SupplyDelivery-quantity",
"source" : [
{
"context" : "src",
"element" : "quantity",
"variable" : "v"
}
],
"target" : [
{
"context" : "tgt",
"element" : "suppliedItem",
"variable" : "si"
},
{
"context" : "si",
"element" : "quantity",
"transform" : "copy",
"parameter" : [
{
"valueId" : "v"
}
]
}
]
},
{
"name" : "SupplyDelivery-suppliedItem",
"source" : [
{
"context" : "src",
"element" : "suppliedItem",
"variable" : "v"
}
],
"target" : [
{
"context" : "tgt",
"element" : "suppliedItem",
"variable" : "si"
},
{
"context" : "si",
"element" : "item",
"transform" : "copy",
"parameter" : [
{
"valueId" : "v"
}
]
}
]
},
{
"name" : "SupplyDelivery-supplier",
"source" : [
{
"context" : "src",
"element" : "supplier",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "supplier",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "SupplyDelivery-whenPrepared",
"source" : [
{
"context" : "src",
"element" : "whenPrepared",
"variable" : "v"
}
],
"target" : [
{
"context" : "tgt",
"element" : "extension",
"variable" : "t"
},
{
"context" : "t",
"element" : "url",
"transform" : "copy",
"parameter" : [
{
"valueString" : "http://hl7.org/fhir/SupplyDelivery-r2-whenPrepared"
}
]
},
{
"context" : "t",
"element" : "value",
"transform" : "copy",
"parameter" : [
{
"valueId" : "v"
}
]
}
]
},
{
"name" : "SupplyDelivery-time",
"source" : [
{
"context" : "src",
"element" : "time",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "occurrence",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "SupplyDelivery-destination",
"source" : [
{
"context" : "src",
"element" : "destination",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "destination",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
},
{
"name" : "SupplyDelivery-receiver",
"source" : [
{
"context" : "src",
"element" : "receiver",
"variable" : "vvv"
}
],
"target" : [
{
"context" : "tgt",
"element" : "receiver",
"variable" : "vvv",
"transform" : "create"
}
],
"dependent" : [
{
"name" : "DefaultMappingGroupAnonymousAlias",
"parameter" : [
{
"valueId" : "vvv"
},
{
"valueId" : "vvv"
}
]
}
]
}
]
}
]
}
XIG built as of ??metadata-date??. Found ??metadata-resources?? resources in ??metadata-packages?? packages.